package com.bodu.exchange.controller;

import com.bodu.core.entity.result.Result;
import com.bodu.exchange.client.ExchangeIconClient;
import com.bodu.exchange.entity.vo.ExchangeIconVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Administrator
 */
@RestController
@Api(value = "图标API", tags = "图标API")
@RequestMapping("api/exchange-book-icon")
public class ExchangeIconApiController {
    
    @Autowired
    private ExchangeIconClient exchangeIconClient;

    @ApiModelProperty("查询图标")
    @PostMapping("iconsList")
    public Result<ExchangeIconVo> iconsList() {
        return exchangeIconClient.iconsList();
    }

}
